package com.itheima.day01.test3;

public class Test3 {
    public static void main(String[] args) {
        Bear bear=new Bear("白色",4);
        /*bear.setColor("白色");
        bear.setNumberLegs(4);*/

        System.out.print(bear.getColor()+bear.getNumberLegs()+"条腿的北极熊");
        bear.eat();
        System.out.println("=======");
        System.out.print(bear.getColor()+bear.getNumberLegs()+"条腿的北极熊");
        bear.catchFish();

    }
}
